package com.swyc.osschat.Test.designMode.chainOfResponsibility.base;

/**
 * @description 抽象处理者：领导类
 * @Author: z156940l@outlook.com
 * @className Leader
 * @Date: 2022/6/27 9:46
 */
public abstract class Leader {

    private Leader nextLeader;

    public Leader getNextLeader() {
        return nextLeader;
    }

    public void setNextLeader(Leader nextLeader) {
        this.nextLeader = nextLeader;
    }

    public abstract void handlerRequest(int days);
}
